/**
 * OPay Inc.
 * Copyright (c) 2016-2022 All Rights Reserved.
 */
package cc.dd.marketing.api.request.coupon;

import cc.dd.marketing.api.constant.FunctionCodeEnum;
import cc.dd.marketing.api.request.base.AbstractBaseRequest;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;

/**
 * @Auther: dongsufeng
 * @Date: 2022/9/14 16:54
 * @Description:
 */
@Data
public class CouponUseReqDTO extends AbstractBaseRequest {

    @NotBlank
    private String couponNo;
    /**
     * 业务单号
     */
    @NotBlank
    private String orderNo;
    /**
     * 功能号
     * @see FunctionCodeEnum
     */
    @NotBlank
    private String functionCode;
    /**
     * 订单金额
     */
    private BigDecimal orderAmount;
}
